package com.ydy.data.service.impl;

import com.ydy.common.model.SysLog;
import com.ydy.common.util.PageHelperUtils;
import com.ydy.common.vo.PageInfo;
import com.ydy.data.mapper.LogInfoMapper;
import com.ydy.data.service.LogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogInfoServiceImpl implements LogInfoService {

    @Autowired
    private LogInfoMapper logInfoMapper;

    @Override
    public List<SysLog> querySysLogInfo(SysLog sysLog, PageInfo pageInfo) {
        PageHelperUtils.startPage(pageInfo);
        return logInfoMapper.querySysLogInfo(sysLog,pageInfo);
    }
}
